﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Camc.Quality.QualityAnalysis.RFormClass
{
    /// <summary>
    /// 检验签署表
    /// </summary>
    public class RInspectionSignatureEntity : FullAuditedEntity<Guid>
    {
        public RInspectionSignatureEntity()
        {

        }
        public RInspectionSignatureEntity(string inspectionSignatureName, string firstOperator, string firstOperator_DisplayName, DateTime? firstOperatorData, string firstOperatorData_DisplayName, string secondOperator, string secondOperator_DisplayName, DateTime? secondOperatorData, string secondOperatorData_DisplayName, string thirdOperator, string thirdOperator_DisplayName,  DateTime? thirdOperatorData, string thirdOperatorData_DisplayName, string fourthOperator, string fourthOperator_DisplayName, DateTime? fourthOperatorData, string fourthOperatorData_DisplayName, string fifthOperator, string fifthOperator_DisplayName, DateTime? fifthOperatorData, string fifthOperatorData_DisplayName)
        {
            InspectionSignatureName = inspectionSignatureName;
            //IsInspection = isInspection;,bool isInspection
            FirstOperator = firstOperator;
            FirstOperator_DisplayName = firstOperator_DisplayName;
            FirstOperatorData = firstOperatorData;
            FirstOperatorData_DisplayName = firstOperatorData_DisplayName;
            SecondOperator = secondOperator;
            SecondOperator_DisplayName = secondOperator_DisplayName;
            SecondOperatorData = secondOperatorData;
            SecondOperatorData_DisplayName = secondOperatorData_DisplayName;
            ThirdOperator = thirdOperator;
            ThirdOperator_DisplayName = thirdOperator_DisplayName;
            ThirdOperatorData = thirdOperatorData;
            ThirdOperatorData_DisplayName = thirdOperatorData_DisplayName;
            FourthOperator = fourthOperator;
            FourthOperator_DisplayName = fourthOperator_DisplayName;
            FourthOperatorData = fourthOperatorData;
            FourthOperatorData_DisplayName = fourthOperatorData_DisplayName;
            FifthOperator = fifthOperator;
            FifthOperator_DisplayName = fifthOperator_DisplayName;
            FifthOperatorData = fifthOperatorData;
            FifthOperatorData_DisplayName = fifthOperatorData_DisplayName;
        }


        /// <summary>
        /// 表名
        /// </summary>
        public virtual string InspectionSignatureName { get; set; }
       // public virtual bool IsInspection { get; set; }

        #region 操作者1
        /// <summary>
        /// 操作者1值
        /// </summary>
        public virtual string FirstOperator { get; set; }
        /// <summary>
        /// 操作者1列名
        /// </summary>
        public virtual string FirstOperator_DisplayName { get; protected set; }
        #endregion

        #region 操作者1时间
        /// <summary>
        /// 操作者1值
        /// </summary>
        public virtual DateTime? FirstOperatorData { get; protected set; }
        /// <summary>
        /// 操作者1列名
        /// </summary>
        public virtual string FirstOperatorData_DisplayName { get; protected set; }
        #endregion

        #region 操作者2
        /// <summary>
        /// 操作者2值
        /// </summary>
        public virtual string SecondOperator { get; set; }
        /// <summary>
        /// 操作者2列名
        /// </summary>
        public virtual string SecondOperator_DisplayName { get; protected set; }
        #endregion

        #region 操作者2时间
        /// <summary>
        /// 操作者2值
        /// </summary>
        public virtual DateTime? SecondOperatorData { get; protected set; }
        /// <summary>
        /// 操作者2列名
        /// </summary>
        public virtual string SecondOperatorData_DisplayName { get; protected set; }
        #endregion

        #region 操作者3
        /// <summary>
        /// 操作者3值
        /// </summary>
        public virtual string ThirdOperator { get; set; }
        /// <summary>
        /// 操作者3列名
        /// </summary>
        public virtual string ThirdOperator_DisplayName { get; protected set; }
        #endregion

        #region 操作者3时间
        /// <summary>
        /// 操作者3值
        /// </summary>
        public virtual DateTime? ThirdOperatorData { get; protected set; }
        /// <summary>
        /// 操作者3列名
        /// </summary>
        public virtual string ThirdOperatorData_DisplayName { get; protected set; }
        #endregion

        #region 操作者4
        /// <summary>
        /// 操作者4值
        /// </summary>
        public virtual string FourthOperator { get; set; }
        /// <summary>
        /// 操作者4列名
        /// </summary>
        public virtual string FourthOperator_DisplayName { get; protected set; }
        #endregion

        #region 操作者4时间
        /// <summary>
        /// 操作者4值
        /// </summary>
        public virtual DateTime? FourthOperatorData { get; protected set; }
        /// <summary>
        /// 操作者4列名
        /// </summary>
        public virtual string FourthOperatorData_DisplayName { get; protected set; }
        #endregion

        #region 操作者5
        /// <summary>
        /// 操作者1值
        /// </summary>
        public virtual string FifthOperator { get; set; }
        /// <summary>
        /// 操作者5列名
        /// </summary>
        public virtual string FifthOperator_DisplayName { get; protected set; }
        #endregion

        #region 操作者5时间
        /// <summary>
        /// 操作者5值
        /// </summary>
        public virtual DateTime? FifthOperatorData { get; protected set; }
        /// <summary>
        /// 操作者5列名
        /// </summary>
        public virtual string FifthOperatorData_DisplayName { get; protected set; }
        #endregion

        public void SetFirstOperator(string firstOperator, string firstOperator_DisplayName, DateTime? firstOperatorData, string firstOperatorData_DisplayName)
        {
            FirstOperator = firstOperator;
            FirstOperator_DisplayName = firstOperator_DisplayName;
            FirstOperatorData = firstOperatorData;
            FirstOperatorData_DisplayName = firstOperatorData_DisplayName;
        }

        public void SetSecondOperator(string secondOperator, string secondOperator_DisplayName, DateTime? secondOperatorData, string secondOperatorData_DisplayName)
        {
            SecondOperator = secondOperator;
            SecondOperator_DisplayName = secondOperator_DisplayName;
            SecondOperatorData = secondOperatorData;
            SecondOperatorData_DisplayName = secondOperatorData_DisplayName;
        }

        public void SetThirdOperator(string thirdOperator, string thirdOperator_DisplayName, DateTime? thirdOperatorData, string thirdOperatorData_DisplayName)
        {
            ThirdOperator = thirdOperator;
            ThirdOperator_DisplayName = thirdOperator_DisplayName;
            ThirdOperatorData = thirdOperatorData;
            ThirdOperatorData_DisplayName = thirdOperatorData_DisplayName;
        }

        public void SetFourthOperator(string fourthOperator, string fourthOperator_DisplayName, DateTime? fourthOperatorData, string fourthOperatorData_DisplayName)
        {
            FourthOperator = fourthOperator;
            FourthOperator_DisplayName = fourthOperator_DisplayName;
            FourthOperatorData = fourthOperatorData;
            FourthOperatorData_DisplayName = fourthOperatorData_DisplayName;
        }

        public void SetFifthOperator(string fifthOperator, string fifthOperator_DisplayName, DateTime? fifthOperatorData, string fifthOperatorData_DisplayName)
        {
            FifthOperator = fifthOperator;
            FifthOperator_DisplayName = fifthOperator_DisplayName;
            FifthOperatorData = fifthOperatorData;
            FifthOperatorData_DisplayName = fifthOperatorData_DisplayName;
        }
    }
}
